package com.rui.dao;

import com.rui.entity.Student;
import com.rui.entity.StudentSubject;
import java.util.List;


/**
 * Created by Administrator on 2017/4/5.
 */
public interface StudentSubjectDao {

    void add(StudentSubject studentSubject);

    void delete(Integer id);

    void update(StudentSubject studentSubject);

    StudentSubject findOne(Integer id);

    List<StudentSubject> findStudentSubjects(String realName,String subName,Integer pageSize,Integer pageIndex);

    Integer findTotalPage(String realName,String subName,Integer pageSize);

    Integer findCount(Integer stuId,Integer subId,Integer id);

    List<StudentSubject> findPersonSubjects(Integer stuId,Integer pageSize,Integer pageIndex);

    Integer findTotalPage(Integer stuId,Integer pageSize);
}
